import Hospital from "../views/hospitalManage/index"
import HospitalList from "../views/hospitalManage/list";
import HospitalDetail from "../views/hospitalManage/detail";


const hospitalManage = {
    path:'/hospitalManage',
        name:'HospitalManage',
    meta: {
    title: "医院管理",
        requireAuth: true
    },
    redirect:'/hospitalManage/list',
    component: Hospital,
    children:[
        {
            path:'list',
            name:'list',
            meta: {
                title: "医院管理列表",
                requireAuth: true
            },
            component:HospitalList
        }, {
            path:'add',
            name:'Add',
            meta: {
                title: "医院添加",
                requireAuth: true
            },
            component:HospitalDetail
        }, {
            path:'update',
            name:'Update',
            meta: {
                title: "医院修改",
                requireAuth: true
            },
            component:HospitalDetail
        }],
}


export default hospitalManage;